<html xmlns:th="http://www.thymeleaf.org">
    <th:block th:fragment="consignee">
    
<div class="flowBox">
<h6><span></span></h6>
<!-- auto replace start-->
<script type="text/javascript" src="/static/js/utils.js"></script>
<script type="text/javascript" src="/static/js/transport_jquery.js"></script>
<!-- auto replace end-->
<table width="99%" align="center" border="0" cellpadding="5" cellspacing="1" bgcolor="#dddddd">
  <!-- {if $real_goods_count gt 0} -->
  <!-- 购物车中存在实体商品显示国家和地区 -->
  <tr>
    <td bgcolor="#ffffff">:</td>
    <td colspan="3" bgcolor="#ffffff">
    <select name="country" id="selCountries_" onchange="region.changed(this, 1, 'selProvinces_')" style="border:1px solid #ccc;">
        <option value="0"></option>
        <!-- {foreach from=$country_list item=country} -->
        <option value="" {if $consignee.country eq $country.region_id}selected{/if}></option>
        <!-- {/foreach} -->
      </select>
      <select name="province" id="selProvinces_" onchange="region.changed(this, 2, 'selCities_')" style="border:1px solid #ccc;">
        <option value="0"></option>
        <!-- {foreach from=$province_list.$sn item=province} -->
        <option value="" {if $consignee.province eq $province.region_id}selected{/if}></option>
        <!-- {/foreach} -->
      </select>
      <select name="city" id="selCities_" onchange="region.changed(this, 3, 'selDistricts_')" style="border:1px solid #ccc;">
        <option value="0"></option>
        <!-- {foreach from=$city_list.$sn item=city} -->
        <option value="" {if $consignee.city eq $city.region_id}selected{/if}></option>
        <!-- {/foreach} -->
      </select>
      <select name="district" id="selDistricts_" {if !$district_list.$sn}style="display:none"{/if} style="border:1px solid #ccc;">
        <option value="0"></option>
        <!-- {foreach from=$district_list.$sn item=district} -->
        <option value="" {if $consignee.district eq $district.region_id}selected{/if}></option>
        <!-- {/foreach} -->
      </select>
     </td>
  </tr>
  <!-- {/if} -->
  <tr>
    <td bgcolor="#ffffff">:</td>
    <td bgcolor="#ffffff"><input name="consignee" type="text" class="inputBg" id="consignee_" value="" />
     </td>
    <td bgcolor="#ffffff">:</td>
    <td bgcolor="#ffffff"><input name="email" type="text" class="inputBg"  id="email_" value="" />
    </td>
  </tr>
  <!-- {if $real_goods_count gt 0} -->
  <!-- 购物车中存在实体商品显示详细地址以及邮政编码 -->
  <tr>
    <td bgcolor="#ffffff">:</td>
    <td bgcolor="#ffffff"><input name="address" type="text" class="inputBg"  id="address_" value="" />
    </td>
    <td bgcolor="#ffffff">:</td>
    <td bgcolor="#ffffff"><input name="zipcode" type="text" class="inputBg"  id="zipcode_" value="" /></td>
  </tr>
  <!-- {/if} -->
  <tr>
    <td bgcolor="#ffffff">:</td>
    <td bgcolor="#ffffff"><input name="tel" type="text" class="inputBg"  id="tel_" value="" />
    </td>
    <td bgcolor="#ffffff">:</td>
    <td bgcolor="#ffffff"><input name="mobile" type="text" class="inputBg"  id="mobile_" value="" /></td>
  </tr>
  <!-- {if $real_goods_count gt 0} -->
  <!-- 购物车中存在实体商品显示最佳送货时间及标志行建筑 -->
  <tr>
    <td bgcolor="#ffffff">:</td>
    <td bgcolor="#ffffff"><input name="sign_building" type="text" class="inputBg"  id="sign_building_" value="" /></td>
    <td bgcolor="#ffffff">:</td>
    <td bgcolor="#ffffff"><input name="best_time" type="text"  class="inputBg" id="best_time_" value="" /></td>
  </tr>
  <!-- {/if} -->
  <tr>
    <td colspan="4" align="center" bgcolor="#ffffff">
    <input type="submit" name="Submit" class="bnt_blue_2" value="" />
      <!-- {if $smarty.session.user_id gt 0 and $consignee.address_id gt 0} -->
      <!-- 如果登录了，显示删除按钮 -->
      <input name="button" type="button" onclick="if (confirm('')) location.href='flow.php?step=drop_consignee&amp;id='"  class="bnt_blue" value="" />
      <!-- {/if} -->
      <input type="hidden" name="step" value="consignee" />
      <input type="hidden" name="act" value="checkout" />
      <input name="address_id" type="hidden" value="" />
      </td>
  </tr>
</table>
</div>
    </th:block>
</html>